package com.opensdk.sns;

import com.opensdk.auth.OAuthClient;
import com.opensdk.auth.RequestToken;
import com.opensdk.exception.OpenSNSException;

public class QweiboSupport {
	
	private final static String OAUTH_REQUEST_TOKEN_URL = "https://open.t.qq.com/cgi-bin/request_token";
	
	private final static String appSecret = "93660395dbadf9de1771353ad38ebed0";
	
	public static void main(String[] args) throws OpenSNSException{
		OAuthClient oauthClient = new OAuthClient();
		
		RequestToken requestToken = oauthClient.getRequestToken(OAUTH_REQUEST_TOKEN_URL, appSecret);
		
		System.out.println(requestToken.toString());
	}

}
